package com.ruoyi.common.enums.php;

/**
 * 发开交易类型
 */
public enum OpenCardTransactionType {
    AUTH("auth", "消费"),
    CORRECTIVE_AUTH("corrective_auth", "纠正授权"),
    VERIFICATION("verification", "验证"),
    VOID("void", "撤销"),
    REFUND("refund", "退款"),
    CORRECTIVE_REFUND("corrective_refund", "校正退款"),
    RECHARGE("recharge", "转入"),
    RECHARGE_RETURN("recharge_return", "卡金额退还"),
    DISCARD_RECHARGE_RETURN("discard_recharge_return", "销卡退回"),
    SERVICE_FEE("service_fee", "服务费"),
    REFUND_REVERSAL("refund_reversal", "退款撤销"),
    FUND_IN("fund_in", "汇入"),
    ATM_INQUIRY("atm_inquiry","ATM查询"),
    ATM_WITHDRAWALS("atm_withdrawals","ATM提现"),
    ATM_INQUIRY_FAILED_RETURN("atm_inquiry_failed_return","ATM查询失败退回"),
    ATM_WITHDRAWALS_FAILED_RETURN("atm_withdrawals_failed_return","ATM提提现失败退回"),
    EXCHANGE("exchange","提现"),
    OPEN_CARD_FEE("open_card_fee","开卡费"),
    CARD_MGR_FEE("card_mgr_fee","卡片管理费"),

    ;
    private final String code;
    private final String info;

    OpenCardTransactionType(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
